import request from '@/utils/request'

// 查询优惠券记录列表
export function getCouponHistoryList(data) {
  return request({
    url: '/discounts/history/findHistoryList',
    method: 'post',
    data: data
  })
}
//使用优惠券
export function updHistoryStatus(data) {
  return request({
    url: '/discounts/history/updHistoryStatus',
    method: 'put',
    data: data
  })
}
